<%--
  Created by IntelliJ IDEA.
  User: Edward
  Date: 2020/6/26
  Time: 10:52
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>测试spring boot缓存</title>
    <style>
        .line{
            width: 60%;
            background-color: darkgray;
            margin: auto;
        }
        label{
            display: inline-block;
            width: 80px;
        }
    </style>
</head>
<body>
    <%--修改缓存的信息--%>
    <div class="line" >
        <form action="${pageContext.request.contextPath}/customer/editCustomer" method="post">
            <%--隐藏域，用来提交客户的信息--%>
            <input type="hidden" name="custId" value="${param.id}">
            <table align="center">
                <tr>
                        <td><label>用户名：</label><input type="text" name="custName" value="${customer.custName}"></td>
                        <td><label>联系人：</label><input type="text" name="custLinkman" value="${customer.custLinkman}"></td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label>电话：</label><input type="text" name="custPhone" value="${customer.custPhone}">&nbsp;
                    </td>
                    <td><label>手机号码：</label><input type="text" name="custMobile" value="${customer.custMobile}"></td>
                </tr> <tr>
                <td>
                    <label>住址：</label><input type="text" name="custAddress" value="${customer.custAddress}">
                </td>
                <td> <label>创建时间：</label><input type="text" name="custCreatetime" value="${customer.custCreatetime}"></td>
            </tr>
                <tr>
                <td>
                    <label>年营业额：</label><input type="text" name="custIndustry" value="${customer.custIndustry}">
                </td>
            </tr>
                <tr>
                <td>
                    <input type="submit" value="修改">
                </td>
            </tr>
            </table>
        </form>
    </div>
</body>
</html>
